package SimpleFactory;

public class AddOperation extends Operation{
    public AddOperation() {
    }

    @Override
    public int getResult() {
        return getNum1() + getNum2();
    }
}
